<include file="Public/header" />
<div data-role="page" >
    <div data-role="header" data-position="fixed"data-tap-toggle="false" data-theme="f">
      <h1>用户注册</h1>
    </div>
    <div data-role="main" class="content">
        <form action="__CONTROLLER__/userSignForm/" data-ajax="false"method="post" accept-charset="utf-8" class="form">
            <div class="panel panel-default">
                <div class="panel-body">
                    <div class="form-group">
                        <label for="username" title="必填项"><i class="fa fa-circle-o"></i> 用户名</label> <small id="ln" class="color-888">※ 3-15位字母与数字组成</small>
                        <input type="text" name="username" id="username" class="form-control" value="<{$signErrorValue['username']}>">
                    </div>
                    <div class="form-group">
                        <label for="useremail" title="必填项"><i class="fa fa-circle-o"></i> 邮箱</label>  <small id="le"class="color-888">※ 用于找回密码</small>
                        <input type="email" name="useremail" id="useremail" class="form-control" value="<{$signErrorValue['useremail']}>">
                    </div>
                    <div class="form-group">
                        <label for="userpassword" title="必填项"><i class="fa fa-circle-o"></i> 密码</label>  <small id="lp" class="color-888">※ 8-16位字符组成</small>
                        <input type="password" name="userpassword" id="userpassword" class="form-control">
                    </div>
                    <div class="form-group">
                        <label for="userpassword2" title="必填项"><i class="fa fa-circle-o"></i> 确认密码</label>  <small id="lp2" class="color-888">※ 与上述密码一致</small>
                        <input type="password" name="userpassword2" id="userpassword2" class="form-control">
                    </div>
                    <div class="form-group">
                        <label for="signverify" title="必填项"><i class="fa fa-circle-o"></i> 验证码</label>
                        <input id="signverify" type="text" name="signverify" class="form-control input-verify">
                        <img src="__URL__/verify" alt="验证码显示" onclick="this.src='__URL__/verify/rand='+Math.random()">
                    </div>  
                </div>
                <div class="panel-footer">
                    <div class="form-group">
                        <button type="submit" id="userloginbutton" class="btn btn-primary">注册</button>
                    </div>
                </div>
            </div>
        </form>
        <div class="col-md-3 login-error">
            <if condition="$signErrorFlag eq 1">
                 <div class="alert alert-danger .alert-dismissible">
                 <a href="" class="pull-right"><i data-dismiss="alert" aria-label="Close" aria-hidden="true" class="fa fa-close "></i></a>
                 <i class="fa fa-exclamation-circle"></i> &nbsp;&nbsp; <strong><{$signErrorInfo}></strong>
                 </div>
            </if>
            <if condition="$signSuccessFlag eq 1">
                 <div class="alert alert-success .alert-dismissible">
                     <a href="" class="pull-right"></a>
                     <i class="fa fa-exclamation-circle"></i><strong>登录邮箱，接收邮件验证邮箱，并激活账号</strong>
                 </div>
                 <button type=""><a href="__CONTROLLER__/index/" class="btn btn-success btn-xs width100 " data-ajax="false"><font class="color-fff">激活后点此登录</font></a></button>
            </if>
        </div>
</div>

<include file="Public/footer"/>